package com.gs.zsmanage.entity;

import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.List;
import java.util.Map;

@Data
@Alias("CustomLive")
public class CustomLive {
    private Integer id;//liveId
    private String department;
    private Integer visible;//是否可见 默认1可见
    private String stationType;//测站类型
    private String stations;//检测站点列表

    /**
     * {[
     * Element{"区域自动站","风向风速","1小时最大风",Hour_Max,1},
     * Element{"区域自动站"，"风向风速","1小时最大风",Hour_Max,0},
     * Element{"区域自动站"，"风向风速","1小时最大风",Hour_Max,1},
     * Element{"区域自动站"，"风向风速","1小时最大风",Hour_Max,0},
     * Element{"区域自动站"，"温度","实时气温",**_**,1},
     * Element{"区域自动站"，"温度","实时气温",**_**,1},
     * Element{"区域自动站"，"温度","实时气温",**_**,0},
     * Element{"区域自动站"，"温度","实时气温",**_**,1},
     * ]}
     */
    private List<Integer> elementIds;//要显示的元素id

    private Map<String,List<Element>> elements;//要显示的元素详情（首页列表展示用）

    private Map<String,List<Element>> allElements;//所有元素
}
